import ReactQuill from 'react-quill';
import 'react-quill/dist/quill.snow.css';

const EditDescription = ({ description, setDescription }) => {

  const handleChange = (value) => {
    setDescription(value);
  };

  return (
    <div>
      <ReactQuill
        value={description}
        onChange={handleChange}
      />
    </div >
  );
};

export default EditDescription;
